package com.example.demo.mapper;

import com.example.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;
//import org.apache.ibatis.annotations.Select;

import java.util.List;
//import org.apache.ibatis.annotations.Select;
//import org.springframework.stereotype.Repository;
//import org.apache.ibatis.annotations.Param;

//import java.util.List;

//mapper接口操作数据库
@Mapper
public interface UserMapper {

         //@Select("select * from user")
        List<User> selectAll();

}
